<div class="portlet-body form">
	<!-- BEGIN FORM-->
	<?php if(isset($error_message)) echo $error_message; ?>
	<?php
		$attributes = array('class' => 'form-horizontal');
		echo form_open($action, $attributes); 
	?>
	<div class="control-group">
		<label class="control-label">Nama</label>
		<div class="controls">
			<input type="text" class="span6 m-wrap" name="ad_name" value="<?php echo $ad_name;?>" /> <span class="help-inline">(nama admin)</span>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">User ID</label>
		<div class="controls">
			<input type="text" class="span6 m-wrap" name="ad_uname" value="<?php echo $ad_uname;?>" /> <span class="help-inline">(nama admin)</span>
		</div>
	</div>

	<div class="control-group">
		<label class="control-label">Password</label>
		<div class="controls">
			<input type="password" class="span6 m-wrap" name="ad_pwd" value="<?php echo $ad_pwd;?>" /> <span class="help-inline">Password</span>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">Confirm Password</label>
		<div class="controls">
			<input type="password" class="span6 m-wrap" name="ad_pwd_conf" value="<?php echo $ad_pwd_conf;?>" /> <span class="help-inline">Ulangi Password</span>
		</div>
	</div>
	<input type="hidden" class="span6 m-wrap" name="sw_id" value="<?php echo $id;?>" />
	<input type="hidden" class="span6 m-wrap" name="tmp_pwd" value="<?php echo $tmp_pwd;?>" />
	<div class="form-actions">
		<button type="submit" class="btn blue">Submit</button>
		<a href="<?php echo base_url().$menu;?>" class="btn grey">Cancel</a>
	</div>
	</form>
	<!-- END FORM-->
</div>
